package com.erp.erp_project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_project.model.Product;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author the bright star
 */
@Mapper
public interface ProductMapper extends BaseMapper<Product> {


    void updateImage(Integer id, String data);

    List<Product> search(String condition);

    void updateNote(String note, Integer id);

    void updatePic(Integer id, String data);
}
